package com.camelot.ccr.system.persistence;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * Sponsor entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="t_sponsor")

public class Sponsor  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1156645019739867291L;
	private String id;
     private String sponsorName;
     private String sponsorUrl;
     private String logoUrl;


    // Constructors

    /** default constructor */
    public Sponsor() {
    }

    
    /** full constructor */
    public Sponsor(String sponsorName, String sponsorUrl, String logoUrl) {
        this.sponsorName = sponsorName;
        this.sponsorUrl = sponsorUrl;
        this.logoUrl = logoUrl;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="sponsor_name", length=60)

    public String getSponsorName() {
        return this.sponsorName;
    }
    
    public void setSponsorName(String sponsorName) {
        this.sponsorName = sponsorName;
    }
    
    @Column(name="sponsor_url", length=100)

    public String getSponsorUrl() {
        return this.sponsorUrl;
    }
    
    public void setSponsorUrl(String sponsorUrl) {
        this.sponsorUrl = sponsorUrl;
    }
    
    @Column(name="logo_url", length=1000)

    public String getLogoUrl() {
        return this.logoUrl;
    }
    
    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }
   








}